package com.wfcm.service;

import com.wfcm.entity.WfGoodsOrderRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 订单-商品关系表
 * 
 * @author xlf
 * @email xlfbe696@gmail.com
 * @date 2018-01-22 18:57:18
 */
public interface WfGoodsOrderRelationService {
	
	WfGoodsOrderRelationEntity queryObject(Integer id);
	
	List<WfGoodsOrderRelationEntity> queryList(Map<String, Object> map);

	List<WfGoodsOrderRelationEntity> queryYDLJ(Map<String, Object> map);

	int queryGoodOrNot(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(WfGoodsOrderRelationEntity wfGoodsOrderRelation);
	
	void update(WfGoodsOrderRelationEntity wfGoodsOrderRelation);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

	List<String> queryOrderCode(WfGoodsOrderRelationEntity goodsOrderRelation);

	Boolean confirm(WfGoodsOrderRelationEntity gor);
}
